home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / DevInfo / DeviceDevelopment / NSDPatch / NSDPatch.cfg < prev    next >
Encoding:
Text File  |  1998-10-28  |  24.8 KB  |  521 lines

  1. #
  2. # $Id: NSDPatch.cfg 1.28 1998/10/28 23:32:14 heinz Exp $
  3. # $VER: NSDPatch.cfg 43.10 (28.10.98)
  4. #
  5. # Demonstration patch configuration file for NSDPatch
  6. # ===================================================
  7. #
  8. #
  9. # Each device patch configuration must reside on a single line.
  10. # A patch that has been installed once cannot be changed.
  11. # The patching process works also for devices which generate a
  12. # new device base for each OpenDevice() call. It is not Unit
  13. # specific. For devices generating multiple bases per OpenDevice(),
  14. # existing opens won't be patched as they can't be located.
  15. # Once a patch is installed any Unit opened since then will be
  16. # patched.
  17. #
  18. # NOTE WELL: A device patch is not meant to replace an NSD upgrade
  19. #            forever. It will emulate NSD device behaviour on top
  20. #            of existing devices fairly well. It will not add any
  21. #            major safety checks or automagically fix every problem
  22. #            you might have with an old Exec device. It may not
  23. #            implement every single NSD detail for various device
  24. #            types.
  25. #
  26. # THERE IS ABSOLUTELY NO WARRANTY WHATSOEVER! STANDARD DISCLAIMER!
  27. #
  28. # How to install the patch:
  29. #
  30. #   1. Copy the configuration file and NSDPatch onto your boot
  31. #      partition.  You can choose the place arbitrarily, though DEVS:
  32. #      and C: are recommended respectively.
  33. #
  34. #   2. If needed, rename the configuration file and change it as
  35. #      needed for your setup. Check the option descriptions below.
  36. #      BE CAREFUL WHEN CHOOSING PATCH OPTIONS!
  37. #
  38. #   3. Add a line like this one *immediately* after SetPatch to your
  39. #      S:Startup-Sequence:
  40. #
  41. #           <location>NSDPatch QUIET PCF <configfile>
  42. #
  43. #      You only need to specify "PCF <configfile>" if you don't use
  44. #      DEVS:NSDPatch.cfg
  45. #
  46. #   4. On every subsequent reboot, the NSDPatch will silently be
  47. #      turned on according to the configuration. There is nothing
  48. #      more you have to do except turning off the patch for any device
  49. #      that gets updated to be NSD compliant.
  50.  
  51. #
  52. # There are various options, parsed in dos.library/ReadArgs() style.
  53. # This file describes the options available with NSDPatch >=43.16.
  54. #
  55.  
  56. #  DEVICE       The name of the device to patch (need not be resident)
  57. #               If your device supports NSD already, it usually is
  58. #               *NOT* wise to patch it!
  59. #               You can check this with NSDQuery
  60.  
  61. #  COMMANDS     A comma separated list of the supported command
  62. #               numbers. It is not necessary to specify the general
  63. #               NSD commands like NSCMD_DEVICEQUERY.
  64. #               When specifying commands, you can exclude some with
  65. #               a subsequent negative specification as shown below
  66. #               in the various patch lines.
  67. #               Just use the "!" character to specify a command number
  68. #               or range to be subsequently excluded again.
  69. #               (Needs "DEVICE" option)
  70.  
  71. #  DEVICETYPE   The numeric or symbolic NSD device type to set
  72. #               (Needs "COMMANDS" option)
  73.  
  74. #  SKIPMOUNT/S  After a trackdisk like device is patched, NSDPatch
  75. #               automagically checks if any 64 bit partitions are mounted
  76. #               but not yet activated. These partitions will then be
  77. #               activated to support, e.g., the V43 FastFileSystem
  78. #               which will activate only for big partitions
  79. #               if the underlying device supports the NSD 64 bit
  80. #               command set.
  81. #               To suppress this feature, specify this option.
  82. #               Normally, you should not use this option.
  83. #               (Needs "DEVICETYPE" option)
  84.  
  85. #  IOERRNOCMD/S If the device to patch does not support IOERR_NOCMD
  86. #               correctly, i.e., if it crashes on unknown commands,
  87. #               specify this option. Only the commands specified
  88. #               via the "COMMANDS" option will be accepted then.
  89. #               All other requests will be safely returned with the
  90. #               IOERR_NOCMD error.
  91. #               (Needs "DEVICETYPE" option)
  92.  
  93. #  TD64/S       If the device to be patched supports the TD64 command
  94. #               set, use this option. The NSD trackdisk extensions will
  95. #               automatically be redirected then to make use of that
  96. #               functionality for e.g. the V43 FastFileSystem.
  97. #               Otherwise a simple HD_SCSICMD fallback is implemented
  98. #               for trackdisk like devices. This fallback is _very_
  99. #               simple to emulate 64 bit commands. Don't expect magic.
  100. #               (Needs "DEVICETYPE" option)
  101.  
  102. #  ACTIVATE     A DOS pattern to tell which DOS device names should
  103. #               be activated to e.g. start up a filesystem on a
  104. #               patched device. It is safe to specify already
  105. #               active devices. Devices where the name is "hidden"
  106. #               by a volume of the same name currently won't be
  107. #               activated. You may want to specify the partition
  108. #               names of partitions exceeding the 4GB barrier here
  109. #               for a patched device with the V43 FastFileSystem
  110. #               if you have used the SKIPMOUNT option when patching
  111. #               the device. Don't specify a trailing ':' in the
  112. #               pattern.
  113.  
  114. #  RDBUNIT/N    If you have a trackdisk like boot device that
  115. #               crashes on unknown commands instead of returning
  116. #               IOERR_NOCMD, you will need this option,
  117. #               "IOERRNOCMD", and "ACTIVATE". You can't boot from a
  118. #               partition exceeding the 4GB barrier with an old
  119. #               style device and the V43 FastFileSystem, and you
  120. #               must not mark any partitions exceeding that barrier
  121. #               as automountable if you have a device that does not
  122. #               support IOERR_NOCMD. These partitions won't be
  123. #               activated automatically by e.g. V43 FFS until the
  124. #               patch is installed. To activate or mount these
  125. #               partitions automatically after the patch is in
  126. #               place, specify the device unit number to scan here
  127. #               and the partition names with the "ACTIVATE" option.
  128. #               The Rigid Disk Block (RDB) on the named unit will be
  129. #               scanned and all named partitions will be mounted.
  130. #               If you specify partitions that are already
  131. #               mounted, an error will be returned. Actually, this
  132. #               option is useful as a general "late mount"
  133. #               functionality!
  134.  
  135. #  MOUNTANY/S   This option is obsolete. Late mounting will always
  136. #               look at all RDB entries on "RDBUNIT" matching the
  137. #               "ACTIVATE" pattern, starting with NSDPatch 43.18.
  138.  
  139. #  VERSION/N    If you know the exact version of a certain device to
  140. #  REVISION/N   be patched, specify these options. The patch line
  141. #               will only be used if this version and revision
  142. #               can be found. As NSDPatch will not skip configuration
  143. #               lines for already patched devices, you can make a list
  144. #               of certain patches for specific versions, followed by
  145. #               a "generic" line for all other versions.
  146. #               This is shown below for scsi.device.
  147. #               Note the usefulness for these options with the ISNSD
  148. #               and VERSIONISNSD options!
  149. #
  150. #               Patches with version and revision info always take
  151. #               precedence over a general patch line for the same
  152. #               deviceif they apply.
  153.  
  154. #  SANA2MAGIC/S Some SANA2 devices don't take it very well if they
  155. #               get passed a NULL buffer management pointer on OpenDevice()
  156. #               This not only makes it hard for NSD to operate nicely, it
  157. #               also confuses some of the popular SANA2 debugging tools.
  158. #               If you have a device like this, you may want to try this
  159. #               option. It should help by providing a dummy pointer if needed.
  160.  
  161. #  ISNSD/S      Will recognize and not patch any device with at least
  162. #               the given VERSION and, optionally,  REVISION.
  163.  
  164. #  VERSIONISNSD/S   Works like ISNSD for the exact VERSION.REVISION.
  165. #               This is useful in case somebody put out a non NSD
  166. #               device suddenly with a higher version number. Tss.
  167. #               What an idea.
  168.  
  169. #  SINGLEPATCHONLY/S
  170. #               NSDPatch will patch a device just once on the "first" call
  171. #               to OpenDevice(). This option is still accepted, but OBSOLETE,
  172. #               as this behaviour is NSDPatch default starting with NSDPatch
  173. #               version 43.12.
  174. #
  175.  
  176. #  TRYMULTIPATCH/S
  177. #               Normally, NSDPatch will check a device to patch on
  178. #               the initial OpenDevice() call and patch it
  179. #               appropriately. This behaviour is default starting
  180. #               with NSDPatch 43.12. If you encounter a device that
  181. #               changes its own device function addresses while it
  182. #               is open, you should use this option. This is highly
  183. #               unlikely, though, as this behaviour would be rather
  184. #               inefficient and possibly crash prone. Note
  185. #               that when using this option, you may encounter
  186. #               infinite loops if other tools like debuggers
  187. #               also patch into the device vectors. Before 43.12,
  188. #               this option was the default setting but due to its
  189. #               dangerous nature, SINGLEPATCHONLY is now the
  190. #               default setting.
  191.  
  192. #  INTBEGINIO/S
  193. #               Some devices may be used from within interrupts
  194. #               to a certain extent. timer.device and audio.device
  195. #               have functionality that may be used from interrupts.
  196. #               Specify this option only if a device may be safely
  197. #               called from within supervisor code. In supervisor
  198. #               mode, NSDPatch functionality is then bypassed to
  199. #               preserve system stability. Do not specify this option
  200. #               if it is not needed as it will add some amount of
  201. #               processing overhead.
  202. #
  203.  
  204. #
  205. #  MAPTODEVICE/K
  206. #  MAPTOUNIT/K/N
  207. #               By using this type, you can define mappings from one
  208. #               device/unit combination to another. This is
  209. #               useful if special tools check on the device
  210. #               name for certain functionality and you really want
  211. #               to use another device/unit. Examples can be found
  212. #               below. It is usually unwise to map devices to
  213. #               devices of a different type because the command
  214. #               sets may well differ in a way that confuse non NSD
  215. #               aware applications. Note that mapping trackdisk
  216. #               units to other devices may be dangerous unless you
  217. #               run any "noclick" hack before NSDPatch!
  218. #
  219.  
  220. #
  221. #  FIXSCSIUPDATE/S
  222. #               The V40 scsi.device has a problem with the JAZ-drive
  223. #               A CMD_UPDATE will start up the drive even if there is
  224. #               nothing to update. For any trackdisk like device
  225. #               with HD_SCSICMD, you # can specify this option to
  226. #               fix a JAZ-drive. CMD_UPDATE will be replaced then
  227. #               with a safe version, which only syncs up the
  228. #               drive's caches if the drive is ready.
  229. #
  230.  
  231. #
  232. #  AVOIDFORBID/S
  233. #               The AmigaOS kernel Exec single threads any device
  234. #               opener with Forbid(), meaning that only the task
  235. #               opening the device will run at that time. Some
  236. #               devices rely on this, some modern devices don't.
  237. #               Forbid() is bad, because opening device can take
  238. #               some time, which means that other tasks are blocked
  239. #               in a significant and possibly deadly way for time
  240. #               critical applications. A better method to do single
  241. #               threading is use of a semaphore, which
  242. #               unfortunatley can't be generally used due to
  243. #               compatibility reasons. If you know that a device
  244. #               can handle a semaphore, specify this option. The
  245. #               Forbid() will then be automagically converted into
  246. #               a semaphore call when the device is opened.
  247. #               Special magic is integrated for console.device, which
  248. #               tends to Forbid() for a long, long time.
  249. #               ONLY TOUCH THIS IF YOU KNOW WHAT YOU ARE DOING!
  250. #
  251.  
  252. #-------------------------------------------------------------------------
  253. #
  254. # Default configuration lines for the V40 (OS 3.1) devices.
  255. # If you find any bugs or omissions, please report them.
  256. # With some work, all the correct versions could be added,
  257. # and this file could contain complete patch information for
  258. # different OS versions. Feedback on this is welcome.
  259.  
  260. #
  261. # Add a comment '#' character to those lines where you already
  262. # use a NSD device.
  263. #
  264.  
  265. # Notes:
  266. #
  267. #   - audio.device is marked with IOERRNOCMD. It does not crash on
  268. #     unknown commands, but it doesn't set IOERR_NOCMD correctly.
  269. #
  270. #   - As a convenience measure for A4000T users, a line with
  271. #     2nd.scsi.device, equal to the scsi.device line, has been added.
  272. #
  273. #   - mfm.device V38/V40 trashes a CPU register on OpenDevice() and
  274. #     has a special private configuration command. The patch fixes
  275. #     the former automagically (as for any device), and the patch
  276. #     line reflects the latter.
  277. #
  278. #   - scsi.device V40 and before V43.22 will not handle CMD_UPDATE well,
  279. #     This is worked around by the FIXSCSIUPDATE option in the respective
  280. #     lines.
  281.  
  282. DEVICE audio.device     DEVICETYPE NSDEVTYPE_AUDIO      COMMANDS 1-14,32 IOERRNOCMD INTBEGINIO
  283. DEVICE cd.device        DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,18-23,32-46
  284. DEVICE clipboard.device DEVICETYPE NSDEVTYPE_CLIPBOARD  COMMANDS 2-4,9-12
  285. DEVICE console.device   DEVICETYPE NSDEVTYPE_CONSOLE    COMMANDS 1-3,9-12 VERSION 40
  286. DEVICE console.device   DEVICETYPE NSDEVTYPE_CONSOLE    COMMANDS 1-3,9-12
  287. DEVICE gameport.device  DEVICETYPE NSDEVTYPE_GAMEPORT   COMMANDS 1,5-13
  288. DEVICE input.device     DEVICETYPE NSDEVTYPE_INPUT      COMMANDS 1,5-16
  289. DEVICE keyboard.device  DEVICETYPE NSDEVTYPE_KEYBOARD   COMMANDS 1,5-13
  290. DEVICE parallel.device  DEVICETYPE NSDEVTYPE_PARALLEL   COMMANDS 1-10
  291. DEVICE printer.device   DEVICETYPE NSDEVTYPE_PRINTER    COMMANDS 1-12,!2,!4,!5
  292. DEVICE ramdrive.device  DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 2-5,9,11-15
  293. DEVICE scsi.device      DEVICETYPE NSDEVTYPE_TRACKDISK  VERSION 43 ISNSD FIXSCSIUPDATE
  294. DEVICE scsi.device      DEVICETYPE NSDEVTYPE_TRACKDISK  VERSION 43 REVISION 22 ISNSD
  295. DEVICE scsi.device      DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28 VERSION 40 REVISION 20 FIXSCSIUPDATE
  296. DEVICE scsi.device      DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28,!22 FIXSCSIUPDATE
  297. DEVICE 2nd.scsi.device  DEVICETYPE NSDEVTYPE_TRACKDISK  VERSION 43 ISNSD FIXSCSIUPDATE
  298. DEVICE 2nd.scsi.device  DEVICETYPE NSDEVTYPE_TRACKDISK  VERSION 43 REVISION 22 ISNSD
  299. DEVICE 2nd.scsi.device  DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28 VERSION 40 REVISION 20 FIXSCSIUPDATE
  300. DEVICE 2nd.scsi.device  DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28,!22 FIXSCSIUPDATE
  301. DEVICE serial.device    DEVICETYPE NSDEVTYPE_SERIAL     COMMANDS 1-11,!4
  302. DEVICE timer.device     DEVICETYPE NSDEVTYPE_TIMER      COMMANDS 9-11 INTBEGINIO
  303. DEVICE trackdisk.device DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 2-16,!8,$8002-$8005,$8009-$800b,$8010-$8011
  304. DEVICE mfm.device       DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-23,29
  305.  
  306. DEVICE a2065.device     DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,14-26 SANA2MAGIC
  307. DEVICE a2060.device     DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,17-26 SANA2MAGIC IOERRNOCMD
  308. DEVICE slip.device      DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,9-26
  309.  
  310. #-------------------------------------------------------------------------
  311. #
  312. # A few configuration lines for known third party stuff. Please report
  313. # more device configurations if you can obtain them!
  314. #
  315. # It is unwise to use a configuration line without checking the version
  316. # of the device first! Not all these entries are necessarily tested.
  317. #
  318. # Entries for devices that are known to be troublesome are enabled as
  319. # default.
  320. #
  321. # Entries for specific known versions precede entries that should cover
  322. # all other versions.
  323. #
  324. # If you create new entries here, please report them to
  325. # <heinz@hwg.muc.de>. Thanks a lot.
  326. #
  327.  
  328. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  329. DEVICE amoksana.device   DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 1-5,8-9,16-26 VERSION 3 REVISION 189 SANA2MAGIC
  330. DEVICE amoksana.device   DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 1-5,8-9,16-26 VERSION 3 REVISION 190 SANA2MAGIC
  331. DEVICE amoksana.device   DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 1-5,8-9,16-26 SANA2MAGIC
  332.  
  333. # VillageTronic Ariadne board.
  334. DEVICE ariadne.device    DEVICETYPE NSDEVTYPE_SANA2      VERSION 1 REVISION 47 ISNSD
  335. #DEVICE ariadne.device    DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,14-26 VERSION 1 REVISION 39
  336. #DEVICE ariadne.device    DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,14-26
  337.  
  338. # Interworks ICard
  339. DEVICE icard.device      DEVICETYPE NSDEVTYPE_SANA2      VERSION 1 REVISION 5 ISNSD
  340. DEVICE icard.device      DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,14-26 VERSION 1 REVISION 4 SANA2MAGIC IOERRNOCMD
  341. DEVICE icard.device      DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,14-26 SANA2MAGIC IOERRNOCMD
  342.  
  343. # NE1000 for the GoldenGate board
  344. DEVICE gg_ne1000.device  DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,14-26 VERSION 37 REVISION 7 SANA2MAGIC
  345. DEVICE gg_ne1000.device  DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,14-26 SANA2MAGIC
  346.  
  347. # NE2000 for the GoldenGate board
  348. DEVICE gg_ne2000.device  DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,14-26 VERSION 37 REVISION 7 SANA2MAGIC
  349. DEVICE gg_ne2000.device  DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,14-26 SANA2MAGIC
  350.  
  351. # QuickNet board
  352. DEVICE QuickNetS2.device DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,17-26,$7ff0 VERSION 2 REVISION 3 SANA2MAGIC IOERRNOCMD
  353. DEVICE QuickNetS2.device DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,17-26,$7ff0 SANA2MAGIC IOERRNOCMD
  354. DEVICE QuickNet.device   DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8,17,20 SANA2MAGIC
  355.  
  356. # Holger Kruse
  357. #DEVICE ppp.device        DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,9-11,14-26
  358.  
  359. # A4066
  360. #DEVICE a4066.device      DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,9-11,14-26 VERSION 1 REVISION 9
  361.  
  362. # Hydra
  363. DEVICE hydra.device      DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,14-27 VERSION 1 REVISION 44 SANA2MAGIC
  364. DEVICE hydra.device      DEVICETYPE NSDEVTYPE_SANA2      COMMANDS 2-3,8-11,14-27 SANA2MAGIC
  365.  
  366. # HWG version 40.9
  367. DEVICE a2060.device     DEVICETYPE NSDEVTYPE_SANA2      VERSION 40 REVISION 9 ISNSD
  368.  
  369. # HWG/MBS version 3.x
  370. DEVICE a2065.device     DEVICETYPE NSDEVTYPE_SANA2      VERSION 3 ISNSD
  371.  
  372. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  373. # A few lines donated by Alessandro Zummo
  374. # MultiFace Card
  375. #DEVICE duart.device      DEVICETYPE NSDEVTYPE_SERIAL     COMMANDS 1-11,!4
  376. #DEVICE pit.device        DEVICETYPE NSDEVTYPE_PARALLEL   COMMANDS 1-10
  377. # GVP IOExtender or GForce 040 Combo
  378. #DEVICE gvppar.device     DEVICETYPE NSDEVTYPE_PARALLEL   COMMANDS 1-10
  379. #DEVICE gvpser.device     DEVICETYPE NSDEVTYPE_SERIAL     COMMANDS 1-11,!4
  380. # diskserial.device
  381. #DEVICE diskserial.device  DEVICETYPE NSDEVTYPE_SERIAL     COMMANDS 1-11,!4
  382. # a2232.device
  383. #DEVICE a2232.device       DEVICETYPE NSDEVTYPE_SERIAL     COMMANDS 1-11,!4
  384.  
  385. # squirrel
  386. #DEVICE squirrelserial.device  DEVICETYPE NSDEVTYPE_SERIAL     COMMANDS 1-11,!4 VERSION 37 REVISION 565
  387.  
  388. # telser (Command set not checked!)
  389. #DEVICE telser.device  DEVICETYPE NSDEVTYPE_SERIAL     COMMANDS 1-11,!4
  390.  
  391. # VMC HyperCOM4-Z2 board
  392. # should work with other VMC-Devices (vmcisdn.device, hyperCOMxx.device)
  393. #DEVICE hyperCOM40.device    DEVICETYPE NSDEVTYPE_SERIAL     COMMANDS 1-11,!4
  394.  
  395. # Note: This device seems to violate NSD specs by using the $4xxx range. version 1.917
  396. # It uses $4303-$4305,$43f0-$43f3,$4405 as it seems, so I don't list them.
  397. #DEVICE capi20.device    DEVICETYPE NSDEVTYPE_UNKNOWN  COMMANDS 1-3,5
  398.  
  399. # Version checked: 1.917
  400. #DEVICE fossil.device    DEVICETYPE NSDEVTYPE_SERIAL  COMMANDS 1-3,5,8-9,11
  401.  
  402. # The type setting for these two devices seems somewhat questionable.
  403. # Any comments?
  404. # Versions checked: 3.13.
  405. #DEVICE ciwan.device     DEVICETYPE NSDEVTYPE_SANA    COMMANDS 2-3,9-11,18,23,25-26
  406. #DEVICE iwan.device      DEVICETYPE NSDEVTYPE_SANA    COMMANDS 2-3,9-11,18,23,25-26
  407.  
  408. #DEVICE ariadnepar.device  DEVICETYPE NSDEVTYPE_PARALLEL   COMMANDS 1-3,5-12
  409.  
  410. #DEVICE ibmprint.device  DEVICETYPE NSDEVTYPE_PARALLEL   COMMANDS 1,3,5-10
  411. #DEVICE ibmser.device    DEVICETYPE NSDEVTYPE_SERIAL  COMMANDS 1-3,5-10
  412. #DEVICE serio.device     DEVICETYPE NSDEVTYPE_SERIAL  COMMANDS 1-10
  413.  
  414. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  415. # For omniscsi.device 1.9 as used in some Guru-ROM's
  416. # Yes, to patch omniscsi.device, you'll need the name gvpscsi.device!
  417. #DEVICE gvpscsi.device   DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 2-5,9-15,20-23,28
  418.  
  419. # For HardFrame Controllers
  420. #DEVICE HardFrame.device DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,23,28
  421.  
  422. # Oliver Kastl's atapi.device
  423. #DEVICE atapi.device      DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28
  424.  
  425. # Another recoverable ram disk
  426. #DEVICE statram.device    DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 2-15,20-21 VERSION 37 REVISION 11
  427.  
  428. # For Hardital Synthesis Controllers
  429. # Looks like this should work with syndisk.device 33.x
  430. #DEVICE syndisk.device    DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 2-5,9,11-15,28,$69,$6d,$70,$73
  431.  
  432. # A few lines donated by Alessandro Zummo
  433. # Blizzard boards from Phase 5
  434. #DEVICE 2060scsi.device   DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28
  435. #DEVICE 1260scsi.device   DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28
  436. #DEVICE 1230scsi.device   DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28
  437.  
  438. # Phase 5 board, donated by Willem Schaaij
  439. #DEVICE  cybscsi.device   DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28
  440.  
  441. # Another P5 device
  442. #DEVICE z3scsi.device   DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 2-7,9-15,20-28,33-39,41-44,46-49,51-72 TD64 VERSION 8 REVISION 5
  443.  
  444. # This should cover SCSI/IDE users with a DataFlyer card.
  445. DEVICE ExpSys.device    DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-9,11-15,18,20-22,28-29 IOERRNOCMD
  446.  
  447. # WarpEngine
  448. #DEVICE warpdrive.device DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28 VERSION 40 REVISION 66
  449.  
  450. # Oktagon 6.10
  451. # Also seems to support 34-36,37-39 but I don't know if
  452. # the implementation is acceptable (cd.device!), so I don't list them
  453. #DEVICE oktagon.device   DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,18-22,28 VERSION 6 REVISION 10
  454.  
  455. # diskspare
  456. #DEVICE diskspare.device DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 2-15,18-22 VERSION 3 REVISION 0
  457.  
  458. # squirrel
  459. #DEVICE squirrelscsi.device    DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28 VERSION 37 REVISION 1765
  460.  
  461. # Draco builtin hostadapter (Donated by Bernhard Möllemann)
  462. #DEVICE dracoscsi.device DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-15,20-23,28
  463.  
  464. # hardfile.device by Chris Hames. Only 2-3,11 seem to do anything useful
  465. #DEVICE hardfile.device DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-11,13-15,18-21,$8001-$800b,$800d-$800f,$8012-$8015
  466.  
  467. #DEVICE cdromemu.device DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 2,12-14,$7ff2-$7ff3
  468.  
  469. # Most commands don't do anything but return.
  470. #DEVICE ibmide.device DEVICETYPE NSDEVTYPE_TRACKDISK  COMMANDS 1-21,$8001-$8015
  471.  
  472.  
  473.  
  474. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  475. # AsimCDFS
  476. #DEVICE asimcdfs.device DEVICETYPE NSDDEVTYPE_UNKNOWN COMMANDS 0-37
  477.  
  478. #-------------------------------------------------------------------------
  479. #
  480. # Some broken software checks the device name and assumes certain
  481. # capabilities. This prohibits the use of updated drivers because
  482. # the software would not use their features.
  483. # Via device mapping, you can map a certain device unit combination
  484. # to another.
  485. #
  486.  
  487. # Fool CrossDOS into using TD_GETGEOMETRY for fake units
  488. #DEVICE mfm.device       UNIT 1 MAPTODEVICE hwgatapi.device MAPTOUNIT 1
  489. #DEVICE mfm.device       UNIT 1 MAPTODEVICE scsi.device MAPTOUNIT 1
  490. # Same thing for versions of FFS.
  491. # Note that mapping trackdisk units to other devices may be dangerous
  492. # unless you run any noclick hack before NSDPatch!
  493. #DEVICE trackdisk.device UNIT 1 MAPTODEVICE hwgatapi.device MAPTOUNIT 1
  494. #DEVICE trackdisk.device UNIT 1 MAPTODEVICE scsi.device MAPTOUNIT 1
  495.  
  496.  
  497. #-------------------------------------------------------------------------
  498. #
  499. # Demonstration lines for activation and late mount functionality.
  500. # If you want to late mount huge partitions, place the late mount lines
  501. # after the device patch line. Note that you must not specify a colon
  502. # for the DOS names.
  503. #
  504.  
  505. # Activate a mounted DOS device entry named "HUGE" (without the colon!)
  506. #ACTIVATE HUGE
  507.  
  508. # Late-Mount and activate a partition named "BIG" on scsi.device unit 4
  509. #DEVICE scsi.device RDBUNIT 4 ACTIVATE BIG
  510.  
  511. # Late-Mount all unmounted partitions on scsi.device unit 4
  512. #DEVICE scsi.device RDBUNIT 4 ACTIVATE #?
  513.  
  514. # Late-Mount all unmounted partitions except for UNIX and MAC on scsi.device unit 4
  515. #DEVICE scsi.device RDBUNIT 4 ACTIVATE ~(UNIX|MAC)
  516.  
  517. #-------------------------------------------------------------------------
  518.  
  519. ### EOT ###
  520.  
  521.